-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrappers for ppanggolin all and ppanggolin msa #6645
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful. Added a few comments.
tools/ppanggolin/.shed.yml
Outdated
homepage_url: https://ppanggolin.readthedocs.io/en/latest/ | ||
long_description: | | ||
Depicting microbial species diversity via a Partitioned PanGenome Graph Of Linked Neighbors. | ||
remote_repository_url: https://github.com/labgem/PPanGGOLiN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should point to the IUC repo. Use this one for homepage_url
. The readthedocs URL might be cool to mention in the tool's help section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remote_repository_url: https://github.com/labgem/PPanGGOLiN | |
remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/main/tools/ppanggolin |
Thanks @bernt-matthias , I implemented your suggestions, does it look good to you ? I couldn't get the validator to work for checking the consistency of the input files format, I didn't find a way to loop through multiple datasets or dataset collection and didn't find an example of such a validator. I implemented this check in the section by raising an exception. Best, Thomas |
#set extension_input_files = $file.ext | ||
#else: | ||
#if $file.ext != $extension_input_files: | ||
#raise Exception("All the genome files must be of similar format, either all genbank files or all fasta files.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if raising an exception is a good idea. Have you tried what happens in such a case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tools/ppanggolin/ppanggolin_all.xml
Outdated
#raise Exception("All the genome files must be of similar format, either all genbank files or all fasta files.") | ||
#end if | ||
#end if | ||
#set base_name = str($file.element_identifier).split('.')[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if users have .
in the identifiers. Maybe ".".join(str($file.element_identifier).split('.')[:-1])
FOR CONTRIBUTOR: